package com.wei.client;

import com.wei.service_base.vo.BaseMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author wjx
 * @InterfaceName UcenterClientFeign
 * @description: TODO
 * @date 2022-12-04 21:58
 * @version: 1.0
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClientFeign {

    @GetMapping("/eduucenter/member/getUserInfoById/{id}")
    public BaseMemberVo getUserInfoById(@PathVariable("id") String id);
}
